//
//  LHLLayout.h
//  15-HomeWork
//
//  Created by 李昊林 on 16/8/3.
//  Copyright © 2016年 李昊林. All rights reserved.
//
#import <UIKit/UIKit.h>

@protocol LHLLayoutDelegate <NSObject>
    
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout widthForItemAtIndexPath:(NSIndexPath *)indexPath
                   height:(CGFloat)height;

@end
@interface LHLLayout : UICollectionViewLayout
@property (nonatomic, weak)id<LHLLayoutDelegate>delegate;
@end
